package com.navinfo.platform.qingqi.protocol.common;



import com.navinfo.platform.examples.parquet.EventType;

import java.io.Serializable;

/**
 * 为了方便存redis，中间结果存储的event对象
 * Created by shen on 2018/3/28.
 */
public class InterEventData  implements Serializable {
    /**
     * 事件开始时间(ms)
     */
    private long startGpsTime;
    /**
     * 事件开始纬度
     */
    private int startLatitude;
    /**
     * 事件开始经度
     */
    private int startLongitude;
    /**
     * 事件开始高程
     */
    private int startHeight;
    /**
     * 事件开始GPS车速(综合车速)
     */
    private int startSpeed;
    /**
     * 事件开始GPS方向
     */
    private int startGpsDirection;
    /**
     * 事件结束时间(ms)
     */
    private long stopGpsTime;
    /**
     * 事件结束纬度
     */
    private int stopLatitude;
    /**
     * 事件结束经度
     */
    private int stopLongitude;
    /**
     * 事件结束高程
     */
    private int stopHeight;
    /**
     * 事件结束GPS车速(综合车速)
     */
    private int stopSpeed;
    /**
     * 事件结速gps方向
     */
    private int stopGpsDirection;
    /**
     * 事件持续时间(ms)
     */
    private long duration;
    /**
     * 事件类型
     */
    private String event;
    /**
     * 扩展数据01
     */
    private int extendField01;
    /**
     * 扩展数据02
     */
    private int extendField02;
    /**
     * 扩展数据03
     */
    private int extendField03;
    /**
     * 扩展数据04
     */
    private int extendField04;
    /**
     * 扩展数据05
     */
    private double extendField05;
    /**
     * 扩展数据06
     */
    private double extendField06;
    /**
     * 扩展数据07
     */
    private double extendField07;
    /**
     * 扩展数据08
     */
    private double extendField08;
    /**
     * 扩展数据09
     */
    private long extendField09;
    /**
     * 扩展数据10
     */
    private long extendField10;
    /**
     * 通信号
     */
    private long terminalId;


    public long getStartGpsTime() {
        return startGpsTime;
    }

    public void setStartGpsTime(long startGpsTime) {
        this.startGpsTime = startGpsTime;
    }

    public int getStartLatitude() {
        return startLatitude;
    }

    public void setStartLatitude(int startLatitude) {
        this.startLatitude = startLatitude;
    }

    public int getStartLongitude() {
        return startLongitude;
    }

    public void setStartLongitude(int startLongitude) {
        this.startLongitude = startLongitude;
    }

    public int getStartHeight() {
        return startHeight;
    }

    public void setStartHeight(int startHeight) {
        this.startHeight = startHeight;
    }

    public int getStartSpeed() {
        return startSpeed;
    }

    public void setStartSpeed(int startSpeed) {
        this.startSpeed = startSpeed;
    }

    public int getStartGpsDirection() {
        return startGpsDirection;
    }

    public void setStartGpsDirection(int startGpsDirection) {
        this.startGpsDirection = startGpsDirection;
    }

    public long getStopGpsTime() {
        return stopGpsTime;
    }

    public void setStopGpsTime(long stopGpsTime) {
        this.stopGpsTime = stopGpsTime;
    }

    public int getStopLatitude() {
        return stopLatitude;
    }

    public void setStopLatitude(int stopLatitude) {
        this.stopLatitude = stopLatitude;
    }

    public int getStopLongitude() {
        return stopLongitude;
    }

    public void setStopLongitude(int stopLongitude) {
        this.stopLongitude = stopLongitude;
    }

    public int getStopHeight() {
        return stopHeight;
    }

    public void setStopHeight(int stopHeight) {
        this.stopHeight = stopHeight;
    }

    public int getStopSpeed() {
        return stopSpeed;
    }

    public void setStopSpeed(int stopSpeed) {
        this.stopSpeed = stopSpeed;
    }

    public int getStopGpsDirection() {
        return stopGpsDirection;
    }

    public void setStopGpsDirection(int stopGpsDirection) {
        this.stopGpsDirection = stopGpsDirection;
    }

    public long getDuration() {
        return duration;
    }

    public void setDuration(long duration) {
        this.duration = duration;
    }

    public String getEvent() {
        return event;
    }

    public void setEvent(String event) {
        this.event = event;
    }

    public int getExtendField01() {
        return extendField01;
    }

    public void setExtendField01(int extendField01) {
        this.extendField01 = extendField01;
    }

    public int getExtendField02() {
        return extendField02;
    }

    public void setExtendField02(int extendField02) {
        this.extendField02 = extendField02;
    }

    public int getExtendField03() {
        return extendField03;
    }

    public void setExtendField03(int extendField03) {
        this.extendField03 = extendField03;
    }

    public int getExtendField04() {
        return extendField04;
    }

    public void setExtendField04(int extendField04) {
        this.extendField04 = extendField04;
    }

    public double getExtendField05() {
        return extendField05;
    }

    public void setExtendField05(double extendField05) {
        this.extendField05 = extendField05;
    }

    public double getExtendField06() {
        return extendField06;
    }

    public void setExtendField06(double extendField06) {
        this.extendField06 = extendField06;
    }

    public double getExtendField07() {
        return extendField07;
    }

    public void setExtendField07(double extendField07) {
        this.extendField07 = extendField07;
    }

    public double getExtendField08() {
        return extendField08;
    }

    public void setExtendField08(double extendField08) {
        this.extendField08 = extendField08;
    }

    public long getExtendField09() {
        return extendField09;
    }

    public void setExtendField09(long extendField09) {
        this.extendField09 = extendField09;
    }

    public long getExtendField10() {
        return extendField10;
    }

    public void setExtendField10(long extendField10) {
        this.extendField10 = extendField10;
    }

    public long getTerminalId() {
        return terminalId;
    }

    public void setTerminalId(long terminalId) {
        this.terminalId = terminalId;
    }

    @Override
    public String toString() {
        return "InterEventData{" +
                "startGpsTime=" + startGpsTime +
                ", startLatitude=" + startLatitude +
                ", startLongitude=" + startLongitude +
                ", startHeight=" + startHeight +
                ", startSpeed=" + startSpeed +
                ", startGpsDirection=" + startGpsDirection +
                ", stopGpsTime=" + stopGpsTime +
                ", stopLatitude=" + stopLatitude +
                ", stopLongitude=" + stopLongitude +
                ", stopHeight=" + stopHeight +
                ", stopSpeed=" + stopSpeed +
                ", stopGpsDirection=" + stopGpsDirection +
                ", duration=" + duration +
                ", event=" + event +
                ", extendField01=" + extendField01 +
                ", extendField02=" + extendField02 +
                ", extendField03=" + extendField03 +
                ", extendField04=" + extendField04 +
                ", extendField05=" + extendField05 +
                ", extendField06=" + extendField06 +
                ", extendField07=" + extendField07 +
                ", extendField08=" + extendField08 +
                ", extendField09=" + extendField09 +
                ", extendField10=" + extendField10 +
                ", terminalId=" + terminalId +
                '}';
    }
}
